package team.seekers.hula.system.resource.utils;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * date: 2022/4/24 17:03
 *
 * @author GH
 * QQ 1124813753
 */
public class InitAliClient {
    /**填入AccessKey信息*/
    public static DefaultAcsClient init(String regionId, String accessKeyId, String accessKeySecret) {
        DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret);
        DefaultAcsClient client = new DefaultAcsClient(profile);
        return client;
    }
}
